package com.jhs.kjs.model.daumMap.frame;

public interface ILatLng {
	
	public enum Cardinal{
		North(0, "북"), 
		NorthNorthEast(1, "북북동"), 
		NorthEast(2, "북동"), 
		NorthEastEast(3, "북동동"),

		East(4, "동"), 
		SouthEastEast(5, "남동동"), 
		SouthEast(6, "남동"), 
		SouthSouthEast(7, "남남동"),

		South(8, "남"), 
		SouthSouthWest(9, "남남서"), 
		SouthWest(10, "남서"), 
		SouthWestWest(11, "남서서"),

		West(12, "서"), 
		NorthWestWest(13, "북서서"), 
		NorthWest(14, "북서"), 
		NorthNorthWest(15, "북북서");
		
		private int dir;
		private String sDir;
		Cardinal(int dir, String sDir){
			this.dir = dir;
			this.sDir = sDir;
		}
		public int getIntDir(){
			return this.dir;
		}
		public String getDir() {
			return dir<10?"0"+dir:dir+"";
		}
		public String getsDir() {
			return sDir;
		}
		
	}
	
	public abstract Double getLat();

	public abstract void setLat(Double lat);

	public abstract Double getLng();

	public abstract void setLng(Double lng);
	
	public abstract int getCardinal();
	
	public abstract int getDirection();

	public void setDirection(int direction);
	
	public Long getEpochtime();

}